package com.fengye.aop.demo.anotation;

import com.fengye.aop.demo.enums.OperationType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author fengyexjtu@126.com
 * @since 2022年09月23日 11:46 PM
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface WorkflowAnnotation {
    
    boolean record() default false;
    
    OperationType operation() default OperationType.START;
}
